package com.niguang.work.labour.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("v_personSite")
public class VPersonsite extends Model<VPersonsite> {

    public static final String SITEUSERID = "siteUserId";
    public static final String USERID = "userId";
    public static final String USERNAME = "userName";
    public static final String QIYEID = "qiyeId";
    public static final String QIYENAME = "qiyeName";
    public static final String SITEID = "siteId";
    public static final String SITENAME = "siteName";
    public static final String MANAGETYPE = "manageType";
    public static final String MANAGETYPENAME = "manageTypeName";
    public static final String SITECITYNAME = "siteCityName";
    private static final long serialVersionUID = 1L;
        /**
     * 主键
     */
         @TableField("siteUserId")
    private Long siteUserId;
        /**
     * 用户ID
     */
         @TableField("userId")
    private Long userId;
        /**
     * 用户姓名
     */
         @TableField("userName")
    private String userName;
    @TableField("qiyeId")
    private Long qiyeId;
        /**
     * 企业名称
     */
         @TableField("qiyeName")
    private String qiyeName;
        /**
     * 工地ID
     */
         @TableField("siteId")
    private Long siteId;
        /**
     * 工地名称
     */
         @TableField("siteName")
    private String siteName;
        /**
     * 是否是管理员 1--普通用户 2--工地管理员
     */
         @TableField("manageType")
    private Integer manageType;
    @TableField("manageTypeName")
    private String manageTypeName;
    @TableField("siteCityName")
    private String siteCityName;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
